@gradient-background: linear-gradient(to bottom right, #66b3f9, #2e61d7);

.basestyle {
    height: 100%;
}

.basestyle .aside {
    width: 240px;
    background: @gradient-background;
    color: #333;
    border-radius: 10px;
    box-shadow: 0px 2px 4px #244ba5;
    /* 水平偏移量 垂直偏移量 模糊半径 阴影颜色 */
}

/*=========================登录页面样式==============================*/
.loginbackground {
    height: 100%;
    width: 100%;
    background-image: url('../images/DLBJ1440-7001.jpg');
    background-size: cover;
    /* 让背景图像覆盖整个元素 */
    background-position: center;
    /* 背景图像居中对齐 */
    background-repeat: no-repeat;
    /* 防止背景图像重复 */
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

    .el-row {
        width: 100%;
    }
}

.el-col-login {
    display: flex;
    justify-content: center;
    align-items: center;

    .el-button--primary {
        --el-button-bg-color: #2e61d7;
    }

    .el-button--large {
        font-size: 18px;
    }
}

.el-form-div {
    border-radius: 16px;
    width: 400px;
    height: 360px;
    border: solid 1px rgba(255, 255, 255, 0.3);
    background-color: #193d5c80;
    display: flex;
    flex-direction: column;
    // justify-content: center;
    /* Center vertically */
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0px 2px 80px #33539d;
    /* Ensure padding does not affect width/height */

    .el-form-item__label {
        align-items: flex-start;
        box-sizing: border-box;
        color: white;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 18px;
        font-weight: 600;
        height: 32px;
        justify-content: flex-end;
        line-height: 32px;
        padding: 0 12px 0 0;
    }

    .image-flag {
        width: auto;
        /* 宽度根据高度自动调整 */
        height: 40px;
        /* 设置固定的高度 */
        background-image: url("../images/flag.png");
        background-size: contain;
        /* 保持图像比例，同时适应容器 */
        background-repeat: no-repeat;
        /* 防止背景图像重复 */
        background-position: center;
        /* 背景图像居中对齐 */
        margin-bottom: 40px;
        margin-top: 20px;
    }
}

.login-button {
    margin-top: 30px;
}

.sjptcontainer {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* 确保容器占据整个视口高度 */
}

/*=========================首页仪表盘样式==============================*/
.home {
    height: 100%;
    margin: 0;
    padding: 0;

    .el-container {
        height: 50%;
        /* Each container takes up 50% of the height */
        display: flex;
        flex-direction: row;
        /* Stack the child elements vertically */
    }

    .el-main {
        flex: 1;
        /* This ensures that the main elements inside each container share equal height */
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 5px;
        border-radius: 10px;
        border: 1px solid #c1e1ff;
        // box-shadow: inset 0px 0px 1px 2px #ececec; //0px 0px 10px 2px：设置了均匀的阴影扩展，前两个值为水平和垂直偏移量（这里都设置为 0px，即不偏移），10px 是阴影的模糊半径，2px 是阴影的扩展半径，确保阴影均匀地分布在四周。
        background-color: rgba(249, 253, 255, 0.5);
        // overflow: hidden; /* 隐藏滚动条 */
    }
}

/*=========================树形样式==============================*/
.sjplatformtree {
    padding: 5px;

    .el-input {
        --el-input-border-radius: 6px;
    }

    .el-tree {
        margin-top: 10px;
        background-color: transparent;
        --el-tree-text-color: white;
        font-weight: 500;
        --el-tree-node-hover-bg-color: #3571ff; //鼠标滑过背景色
        --el-tree-expand-icon-color: white; //节点前的小三角颜色

        .el-tree__empty-text {
            color: white;
        }
    }

    .tree-node-content {
        display: inline-block;
        /* 确保元素是块级以支持宽度设置 */
        width: 100%;
        /* 根据需要调整宽度 */
        white-space: nowrap;
        /* 不换行 */
        overflow: hidden;
        /* 超出部分隐藏 */
        text-overflow: ellipsis;
        /* 省略号 */
    }
}

.sjplatformtree-bgwhite {
    padding: 5px;
    background: #c1e1ff85;
    border-radius: 10px;

    .el-input {
        --el-input-border-radius: 6px;
    }

    .el-tree {
        margin-top: 10px;
        background-color: transparent;
        --el-tree-text-color: #333;
        font-weight: 500;
        --el-tree-node-hover-bg-color: #b1d9ff; //鼠标滑过背景色
        --el-tree-expand-icon-color: #333; //节点前的小三角颜色

        .el-tree__empty-text {
            color: #333;
        }

        .requirement-node-icon {
            background: url('../images/requirement-node.svg') no-repeat;
            background-size: 16px;
            width: 16px;
            height: 16px;
            display: inline-block;
            cursor: pointer;
            margin: 5px 10px 0px 0px;
        }

        .feature-icon {
            background: url('../images/feature.svg') no-repeat;
            background-size: 16px;
            width: 16px;
            height: 16px;
            display: inline-block;
            cursor: pointer;
            margin: 5px 10px 0px 0px;
        }
    }

    .tree-node-content {
        display: inline-block;
        /* 确保元素是块级以支持宽度设置 */
        width: 100%;
        /* 根据需要调整宽度 */
        white-space: nowrap;
        /* 不换行 */
        overflow: hidden;
        /* 超出部分隐藏 */
        text-overflow: ellipsis;
        /* 省略号 */
    }
}


/*=========================列表表单样式==============================*/
.sjplatformtable {
    margin-top: 10px;

    .el-table {
        background-color: transparent;
        --el-table-border-color: #c1e1ff;
        --el-table-border: 1px solid #c1e1ff;
        --el-table-header-text-color: #10273b;
        --el-table-text-color: #10273b;
        --el-table-border-radius: 10px;
        --el-table-header-bg-color: #b1d9ff;
        --el-table-row-hover-bg-color: #cbe6ff;
        --el-table-tr-bg-color: #edf6ff;
        width: 100%;

        .el-table__inner-wrapper:before {
            bottom: 0;
            height: 0px;
            left: 0;
        }

        .el-table__empty-text {
            color: #333;
            line-height: 60px;
            width: 50%;
        }

        .el-table__cell {
            text-align: center;
        }

        .left-align {
            text-align: left !important;
            /* 确保强制左对齐 */
        }

        .th .el-table__cell {
            text-align: center !important;
        }

        .el-form-item {
            margin-bottom: 0px;
        }

        .status__cell {
            //状态单元格样式
            padding: 4px;
            border-radius: 4px;

            &.unknown {
                //未知
                background-color: rgba(255, 255, 0, 0.5);
            }

            &.notstatrt {
                //未开始
                background-color: rgba(0, 145, 65, 0.1);
            }

            &.underway {
                //进行中
                background-color: rgba(0, 145, 65, 0.3);
            }

            &.aprovesubmit {
                //提交审批
                background-color: rgba(0, 145, 65, 0.5);
            }

            &.approving {
                //审批中
                background-color: rgba(0, 145, 65, 0.7);
            }

            &.approvepass {
                //审批通过
                background-color: rgb(0, 145, 65);
            }

            &.approverefuse {
                //审批不通过
                background-color: rgba(0, 0, 0, 0.3);
            }

            &.finish {
                background-color: rgba(255, 0, 0, 0.5);
            }
        }
    }

    .el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell {
        background-color: #2f93ff;
    }

    .el-table--border th.el-table__cell {
        border-bottom: var(--el-table-border);
        text-align: center !important;
    }

    .el-table__body tr.current-row>td.el-table__cell {
        background-color: #2f93ff;
    }

    .cell {
        white-space: nowrap;
        /* 不换行 */
        overflow: hidden;
        /* 隐藏超出部分 */
        text-overflow: ellipsis;
        /* 超出部分用省略号表示 */
    }

    .el-pagination {
        --el-pagination-bg-color: rgba(0, 0, 0, 0);
        justify-content: flex-end;
    }

    .el-pagination button.is-disabled,
    .el-pagination button:disabled {
        background-color: rgba(0, 0, 0, 0);
        color: var(--el-pagination-button-disabled-color);
        cursor: not-allowed;
    }

    .el-table__empty-block {
        border-bottom: 1px solid #66b3f9;
    }

    .el-scrollbar {
        --el-scrollbar-opacity: 0.3;
        --el-scrollbar-bg-color: #66b3f9;
        --el-scrollbar-hover-opacity: 0.5;
        --el-scrollbar-hover-bg-color: #66b3f9;
        height: 100%;
        overflow: hidden;
        position: relative;
    }

    .el-dialog__title {
        background-color: #b1d9ff;
    }

    .title-div {
        background: linear-gradient(to bottom right, #c1e1ff, transparent);
        padding: 5px 10px;
        margin-bottom: 2px;
        color: #333;
        font-weight: 600;
    }

    .edit-icon {
        background: url('../images/edit.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .del-icon {
        background: url('../images/del.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .submit-icon {
        background: url('../images/submit.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .revocation-icon {
        background: url('../images/revocation.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .detail-icon {
        background: url('../images/detail.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .node-icon {
        background: url('../images/node.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .setting-icon {
        background: url('../images/setting.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .approve-icon {
        background: url('../images/approve.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .approvedetail-icon {
        background: url('../images/approvedetail.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .requirement-icon {
        background: url('../images/requirement.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .schedule-icon {
        background: url('../images/schedule.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .progress-icon {
        background: url('../images/progress.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .team-icon {
        background: url('../images/team.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }
}

/*=========================搜索表单样式==============================*/
.sjplatformSelectForm {
    padding: 5px;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #b1d9ff;

    .el-form {
        margin: 10px;

        .el-form-item {
            margin-bottom: 0px;
        }

        .el-select {
            width: 120px;
        }
    }
}

.sjplatformDetailForm {
    padding: 5px;

    .el-form {
        border-left: solid 1px #c1e1ff;
        border-top: solid 1px #c1e1ff;
        border-right: solid 1px #c1e1ff;

        .el-form-item {
            margin-bottom: 0px;
            border-bottom: solid 1px #c1e1ff;
        }

        .el-form-item__label {
            background-color: #f3f3f3;
            align-items: baseline;
            box-sizing: border-box;
            color: #333; // var(--el-text-color-regular);
            display: flex;
            align-items: center;
            height: auto;
            font-size: var(--el-form-label-font-size);
            padding: 0 2px 0 0;
            justify-content: flex-end;
            align-content: stretch;
            border-right: solid 1px #c1e1ff;
        }

        .el-form-item__content {
            align-items: center;
            display: flex;
            flex: 1;
            flex-wrap: wrap;
            flex-grow: 1;
            font-size: var(--font-size);
            line-height: 32px;
            min-width: 0;
            position: relative;
            padding: 0 2px 0 10px;
        }

        .download-icon {
            background: url('../images/download.svg') no-repeat;
            background-size: 20px;
            width: 20px;
            height: 20px;
            display: inline-block;
            cursor: pointer;
            margin: 0px 0px 0px 10px;
        }
    }

    .el-form-li {
        margin-bottom: 5px;
        border-left: solid 1px #c1e1ff;
        border-top: solid 1px #c1e1ff;
        border-right: solid 1px #c1e1ff;

        .el-form-item {
            margin-bottom: 0px;
            border-bottom: solid 1px #c1e1ff;
        }

        .el-form-item__label {
            background-color: #f3f3f3;
            align-items: baseline;
            box-sizing: border-box;
            color: #333; // var(--el-text-color-regular);
            display: flex;
            align-items: center;
            font-size: var(--el-form-label-font-size);
            padding: 0 2px 0 0;
            justify-content: flex-end;
            align-content: stretch;
            border-right: solid 1px #c1e1ff;
        }

        .el-form-item__content {
            align-items: center;
            display: flex;
            flex: 1;
            flex-wrap: wrap;
            flex-grow: 1;
            font-size: var(--font-size);
            line-height: 32px;
            min-width: 0;
            position: relative;
            padding: 0 2px 0 10px;
        }
    }

    .title-div {
        background: linear-gradient(to bottom right, #c1e1ff, transparent);
        padding: 5px 10px;
        margin-bottom: 2px;
        color: #333;
        font-weight: 600;
    }
}

/*=========================审批表单样式==============================*/
.sjplatformApproveForm {
    .el-form {
        border-left: solid 1px #c1e1ff;
        border-top: solid 1px #c1e1ff;
        border-right: solid 1px #c1e1ff;

        .el-form-item {
            margin-bottom: 0px;
            border-bottom: solid 1px #c1e1ff;
        }

        .el-form-item__label {
            background-color: #f3f3f3;
            align-items: baseline;
            box-sizing: border-box;
            color: #333; // var(--el-text-color-regular);
            display: flex;
            align-items: center;
            height: auto;
            font-size: var(--el-form-label-font-size);
            padding: 0 2px 0 0;
            justify-content: flex-end;
            align-content: stretch;
            border-right: solid 1px #c1e1ff;
        }

        .el-form-item__content {
            align-items: center;
            display: flex;
            flex: 1;
            flex-wrap: wrap;
            flex-grow: 1;
            font-size: var(--font-size);
            line-height: 32px;
            min-width: 0;
            position: relative;
            padding: 0 2px 0 10px;
        }

        .download-icon {
            background: url('../images/download.svg') no-repeat;
            background-size: 20px;
            width: 20px;
            height: 20px;
            display: inline-block;
            cursor: pointer;
            margin: 0px 0px 0px 10px;
        }
    }
}

/*=========================添加表单样式==============================*/
.sjplatformAdd {
    padding: 5px;

    .el-table {
        background-color: transparent;
        --el-table-border-color: #c1e1ff;
        --el-table-border: 1px solid #c1e1ff;
        --el-table-header-text-color: #10273b;
        --el-table-text-color: #10273b;
        --el-table-border-radius: 10px;
        --el-table-header-bg-color: #b1d9ff;
        --el-table-row-hover-bg-color: #cbe6ff;
        --el-table-tr-bg-color: #edf6ff;
        width: 100%;

        .el-table__inner-wrapper:before {
            bottom: 0;
            height: 0px;
            left: 0;
        }

        .el-table__empty-text {
            color: #333;
            line-height: 60px;
            width: 50%;
        }

        .el-table__cell {
            text-align: center;
        }

        .left-align {
            text-align: left !important;
            /* 确保强制左对齐 */
        }

        .th .el-table__cell {
            text-align: center !important;
        }

        .el-form-item {
            margin-bottom: 0px;
        }

        .status__cell {
            //状态单元格样式
            padding: 4px;
            border-radius: 4px;

            &.unknown {
                //未知
                background-color: rgba(255, 255, 0, 0.5);
            }

            &.notstatrt {
                //未开始
                background-color: rgba(0, 145, 65, 0.1);
            }

            &.underway {
                //进行中
                background-color: rgba(0, 145, 65, 0.3);
            }

            &.aprovesubmit {
                //提交审批
                background-color: rgba(0, 145, 65, 0.5);
            }

            &.approving {
                //审批中
                background-color: rgba(0, 145, 65, 0.7);
            }

            &.approvepass {
                //审批通过
                background-color: rgb(0, 145, 65);
            }

            &.approverefuse {
                //审批不通过
                background-color: rgba(0, 0, 0, 0.3);
            }

            &.finish {
                background-color: rgba(255, 0, 0, 0.5);
            }
        }
    }

    .el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell {
        background-color: #2f93ff;
    }

    .el-table--border th.el-table__cell {
        border-bottom: var(--el-table-border);
        text-align: center !important;
    }

    .el-table__body tr.current-row>td.el-table__cell {
        background-color: #2f93ff;
    }

    .cell {
        white-space: nowrap;
        /* 不换行 */
        overflow: hidden;
        /* 隐藏超出部分 */
        text-overflow: ellipsis;
        /* 超出部分用省略号表示 */
    }

    .el-form-item__content {
        text-align: left;

        .button-div {
            padding: 0px 0px 5px 0px;
            width: 100%;
            display: flex;
            justify-content: flex-end;
        }
    }

    .title-div {
        background: linear-gradient(to bottom right, #c1e1ff, transparent);
        padding: 5px 10px;
        margin-bottom: 2px;
        margin-top: 2px;
        color: #333;
        font-weight: 600;
    }

    .title3 {
        // background: linear-gradient(to right, #c1e1ff, transparent);
        padding: 5px 10px;
        margin-bottom: 2px;
        margin-top: 2px;
        color: #333;
        font-weight: 600;
        border-radius: 4px;
        display: flex;
        align-items: flex-end;
    }

    .add-icon {
        background: url('../images/addrequirement.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .addchild-icon {
        background: url('../images/addchild.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .edit-icon {
        background: url('../images/edit.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .confirm-icon {
        background: url('../images/confirm.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .del-icon {
        background: url('../images/del.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .del1-icon {
        background: url('../images/del1.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .build-icon {
        background: url('../images/build.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .import-icon {
        background: url('../images/import.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .rightc2-icon {
        background: url('../images/rightc2.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .rightc1-icon {
        background: url('../images/rightc1.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .leftc2-icon {
        background: url('../images/leftc2.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .leftc1-icon {
        background: url('../images/leftc1.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .today-icon {
        background: url('../images/today.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .addteammember-icon {
        background: url('../images/addteammember.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .calendar-icon {
        background: url('../images/calendar.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .table-icon {
        background: url('../images/table.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .list-icon {
        background: url('../images/list.svg') no-repeat;
        background-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-block;
        cursor: pointer;
        margin: 5px 10px 0px 0px;
    }

    .el-form-li {
        margin-bottom: 5px;
        border-left: solid 1px #c1e1ff;
        border-top: solid 1px #c1e1ff;
        border-right: solid 1px #c1e1ff;

        .el-form-item {
            margin-bottom: 0px;
            border-bottom: solid 1px #c1e1ff;
        }

        .el-form-item__label {
            background-color: #f3f3f3;
            align-items: baseline;
            box-sizing: border-box;
            color: #333; // var(--el-text-color-regular);
            display: flex;
            align-items: center;
            font-size: var(--el-form-label-font-size);
            padding: 0 2px 0 0;
            justify-content: flex-end;
            align-content: stretch;
            border-right: solid 1px #c1e1ff;
        }

        .el-form-item__content {
            align-items: center;
            display: flex;
            flex: 1;
            flex-wrap: wrap;
            flex-grow: 1;
            font-size: var(--font-size);
            line-height: 32px;
            min-width: 0;
            position: relative;
            padding: 0 2px 0 10px;
        }
    }
}


/*=========================按钮样式==============================*/
.el-button--primary {
    --el-button-text-color: var(--el-color-white);
    --el-button-bg-color: #3974fd;
    --el-button-border-color: var(--el-color-primary);
    --el-button-outline-color: var(--el-color-primary-light-5);
    --el-button-active-color: var(--el-color-primary-dark-2);
    --el-button-hover-text-color: var(--el-color-white);
    --el-button-hover-link-text-color: var(--el-color-primary-light-5);
    --el-button-hover-bg-color: var(--el-color-primary-light-3);
    --el-button-hover-border-color: var(--el-color-primary-light-3);
    --el-button-active-bg-color: var(--el-color-primary-dark-2);
    --el-button-active-border-color: var(--el-color-primary-dark-2);
    --el-button-disabled-text-color: var(--el-color-white);
    --el-button-disabled-bg-color: var(--el-color-primary-light-5);
    --el-button-disabled-border-color: var(--el-color-primary-light-5);
}


.el-button--danger {
    --el-button-text-color: var(--el-color-white);
    --el-button-bg-color: var(--el-color-danger);
    --el-button-border-color: var(--el-color-danger);
    --el-button-outline-color: var(--el-color-danger-light-5);
    --el-button-active-color: var(--el-color-danger-dark-2);
    --el-button-hover-text-color: var(--el-color-white);
    --el-button-hover-link-text-color: var(--el-color-danger-light-5);
    --el-button-hover-bg-color: var(--el-color-danger-light-3);
    --el-button-hover-border-color: var(--el-color-danger-light-3);
    --el-button-active-bg-color: var(--el-color-danger-dark-2);
    --el-button-active-border-color: var(--el-color-danger-dark-2);
    --el-button-disabled-text-color: var(--el-color-white);
    --el-button-disabled-bg-color: var(--el-color-danger-light-5);
    --el-button-disabled-border-color: var(--el-color-danger-light-5);
}


/*=========================抽屉样式==============================*/
.el-drawer {
    --el-drawer-bg-color: var(--el-dialog-bg-color, var(--el-bg-color));
    --el-drawer-padding-primary: var(--el-dialog-padding-primary, 20px);
    background-color: var(--el-drawer-bg-color);
    box-shadow: var(--el-box-shadow-dark);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    transition: all var(--el-transition-duration);
}

.el-drawer__header {
    // background-color: #c1e1ff;
    background: @gradient-background;
    align-items: center;
    color: white;
    display: flex;
    margin-bottom: 0px;
    padding: 5px 5px 5px 10px; // var(--el-drawer-padding-primary);
    padding-bottom: 0;
    height: 50px;
}

.el-drawer__body {
    flex: 1;
    overflow: auto;
    padding: 10px; // var(--el-drawer-padding-primary);
}

.el-drawer__footer {
    border-top: solid 1px #c1e1ff;
    background-color: #edf6ff;
    padding: var(--el-drawer-padding-primary);
    padding-top: 20px;
    text-align: right;

    .el-checkbox {
        margin-right: 50px;
    }

    .align-right-buttons div {
        display: flex;
        justify-content: flex-end;
        /* 如果需要的话，还可以添加一些间距 */
        gap: 10px;
        /* CSS Grid 或较新版本的 Flexbox 支持的间隙属性 */
        /* 或者使用 margin，但请注意，这会影响子元素的外边距 */
        /* margin-left: auto; 也是一种将元素推向右侧的方法，但 gap 更直观 */
    }
}

.el-checkbox-button {
    --el-checkbox-button-checked-bg-color: var(--el-color-primary);
    --el-checkbox-button-checked-text-color: var(--el-color-white);
    --el-checkbox-button-checked-border-color: var(--el-color-primary);
    display: inline-block;
    position: relative;
}

.el-checkbox-button:first-child .el-checkbox-button__inner {
    // border-bottom-left-radius: var(--el-border-radius-base);
    border-left: solid 1px #e1e1e1; //var(--el-border);
    // border-top-left-radius: var(--el-border-radius-base);
    box-shadow: none !important;
}

.el-checkbox-button__inner {
    // -webkit-appearance: none;
    background: var(--el-button-bg-color);
    border: solid 1px #e1e1e1; //var(--el-border);
    border-radius: 4px;
    box-sizing: border-box;
    color: var(--el-button-text-color);
    cursor: pointer;
    display: inline-block;
    font-size: var(--el-font-size-base);
    font-weight: var(--el-checkbox-font-weight);
    line-height: 1;
    margin-left: 10px;
    outline: none;
    padding: 8px 15px;
    position: relative;
    text-align: center;
    transition: var(--el-transition-all);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}

/*=========================弹框样式==============================*/
.el-dialog {
    --el-dialog-margin-top: 15vh;
    --el-dialog-bg-color: var(--el-bg-color);
    --el-dialog-box-shadow: var(--el-box-shadow);
    --el-dialog-title-font-size: var(--el-font-size-large);
    --el-dialog-content-font-size: 14px;
    --el-dialog-font-line-height: var(--el-font-line-height-primary);
    --el-dialog-padding-primary: 16px;
    --el-dialog-border-radius: var(--el-border-radius-small);
    background: var(--el-dialog-bg-color);
    border-radius: 10px; // var(--el-dialog-border-radius);
    box-shadow: var(--el-dialog-box-shadow);
    box-sizing: border-box;
    margin: var(--el-dialog-margin-top, 15vh) auto 50px;
    overflow-wrap: break-word;
    padding: 0px; // var(--el-dialog-padding-primary);
    position: relative;
    width: var(--el-dialog-width, 50%);
}

.el-dialog__header {
    padding: 16px;
    border-radius: 10px 10px 0px 0px;
    background: @gradient-background;
}

.el-dialog__title {
    color: white;
    font-size: var(--el-dialog-title-font-size);
    line-height: var(--el-dialog-font-line-height);
}

.el-dialog__headerbtn .el-dialog__close {
    color: white; //var(--el-color-info);
    font-size: large;
}

.el-dialog__body {
    padding: 10px;
    color: var(--el-text-color-regular);
    font-size: var(--el-dialog-content-font-size);
}

.el-dialog__footer {
    padding: 16px;
    box-sizing: border-box;
    text-align: right;
    border-radius: 0px 0px 10px 10px;
    background-color: #edf6ff;
}

//////上传组件
.upload-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Center horizontally */
    justify-content: center;
    /* Center vertically if needed */
    gap: 10px;
    /* Space between buttons, adjust as needed */
}

.uploadHis {
    .file-list {
        list-style-type: none;
        /* 去掉圆点 */
        padding: 0;
        /* 去掉默认的内边距 */

        li {
            display: flex;
            align-items: center;
            /* 垂直居中 */
        }
    }
}

/*=========================消息框样式==============================*/
.el-message-box {
    --el-messagebox-title-color: var(--el-text-color-primary);
    --el-messagebox-width: 420px;
    --el-messagebox-border-radius: 4px;
    --el-messagebox-box-shadow: var(--el-box-shadow);
    --el-messagebox-font-size: var(--el-font-size-large);
    --el-messagebox-content-font-size: var(--el-font-size-base);
    --el-messagebox-content-color: var(--el-text-color-regular);
    --el-messagebox-error-font-size: 12px;
    --el-messagebox-padding-primary: 12px;
    --el-messagebox-font-line-height: var(--el-font-line-height-primary);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: var(--el-bg-color);
    border-radius: var(--el-messagebox-border-radius);
    box-shadow: var(--el-messagebox-box-shadow);
    box-sizing: border-box;
    display: inline-block;
    font-size: var(--el-messagebox-font-size);
    max-width: var(--el-messagebox-width);
    overflow: hidden;
    overflow-wrap: break-word;
    padding: 0px;
    position: relative;
    text-align: left;
    vertical-align: middle;
    width: 100%;

    .el-message-box__header {
        padding: 10px;
        background: linear-gradient(to bottom right, #9ccfff, transparent);
    }

    .el-message-box__content {
        color: var(--el-messagebox-content-color);
        font-size: var(--el-messagebox-content-font-size);
        margin: 14px;
    }

    .el-message-box__btns {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        padding: 6px;
        background-color: #edf6ff;
    }
}

.sjplatform-form-item {
    margin: 10px 0px 10px 10px; //上 右 下 左
    padding: 10px;
    border-radius: 6px;
    background-color: #edf6ff;

    .form-child {
        margin: 10px 0px 0px 0px; //上 右 下 左
        padding-top: 10px;
        border-top: solid 1px #9ccfff;
    }

    .operation-button {
        display: flex;
        justify-content: flex-end;
    }

    .el-form-item {
        display: flex;
        --font-size: 14px;
        margin-bottom: 5px;

        .el-form-item__content {
            align-items: center;
            display: flex;
            flex: 1;
            flex-wrap: nowrap;
            font-size: var(--font-size);
            line-height: 32px;
            min-width: 0;
            position: relative;
        }

        .item-input {
            margin-right: 10px;
        }

        .el-form-item__label {
            width: 85px;
        }
    }

    .title-div {
        background: linear-gradient(to bottom right, #c1e1ff, transparent);
        padding: 5px 10px;
        margin: 20px 0px 0px 0px;
        color: #333;
        font-weight: 600;
    }
}

.sjplatform-form-edit-item {
    padding: 10px 10px 10px 0px; //上 右 下 左
    margin-bottom: 10px;
    border-radius: 6px;
    border: solid 1px #9ccfff;

    .form-child {
        margin: 10px 0px 0px 0px; //上 右 下 左
        padding-top: 10px;
        border-top: solid 1px #9ccfff;
    }

    .operation-button {
        display: flex;
        justify-content: flex-end;
    }

    .el-form-item {
        display: flex;
        --font-size: 14px;
        margin-bottom: 5px;

        .el-form-item__content {
            align-items: center;
            display: flex;
            flex: 1;
            flex-wrap: nowrap;
            font-size: var(--font-size);
            line-height: 32px;
            min-width: 0;
            position: relative;
        }

        .item-input {
            margin-right: 10px;
        }

        .el-form-item__label {
            width: 85px;
        }
    }
}

/*=========================流程图样式==============================*/
.vue-flow-container {
    background-color: #edf6ff;
    border: solid 1px #b1d9ff;
    border-radius: 10px;
}

/*=========================悬浮按钮样式==============================*/
.floating-button {
    z-index: 9999;
    position: absolute;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: radial-gradient(circle at center, #2e61d7, #66b3f9);
    border-radius: 30px;
    box-shadow: 0px 0px 2px #193d5c;
    opacity: 0.9; //不透明度

    .add-button-icon {
        background: url('../images/add.svg') no-repeat;
        background-size: 26px;
        width: 26px;
        height: 26px;
        display: inline-block;
    }
}

.floating-button:active {
    cursor: grabbing;
}

.el-col-left {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
}

.el-col-right {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-end;
}

.el-calendar {
    .calendar-cell-div {
        padding: 4px;
        border-radius: 4px;
        font-size: 12px;
        background: linear-gradient(to bottom right, #edf6ff, #c1e1ff);
    }
}